package models.production;

import models.core.BaseAttrValue;
import models.core.CompositeAttrValue;
import models.core.GipxyModel;
import models.inventory.ResourceValue;

import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import java.util.Set;

/**
 * Created by Gipxy group
 * Date: 5/1/12
 */
public class Task extends GipxyModel{

    @ManyToOne
    public TaskSpec spec;

    @ManyToMany
    public Set<ResourceValue> resources;

    @ManyToMany
    public Set<BaseAttrValue> baseAttrValues;

    @ManyToMany
    public Set<CompositeAttrValue> compositeAttrValues;


    public String phoi;

}
